<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/admin/common.jsp"%>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>配网数据-用户管理</title>
<link href="<%=basePath %>admin/css/style.css" rel="stylesheet" type="text/css" />
<link href="<%=basePath %>admin/css/llcss.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="<%=basePath %>js/jquery/jquery-1.8.0.min.js"></script>
<script type="text/javascript" src="<%=basePath %>js/My97DatePicker/WdatePicker.js"></script>
<script type="text/javascript" src="<%=basePath %>admin/js/common.js"></script>
<script type="text/javascript" src="<%=basePath %>admin/js/hd_ll.js"></script>
<script type="text/javascript" src="<%=basePath %>admin/js/register.js"></script>
<script type="text/javascript" src="<%=basePath %>js/ajaxfileupload.js"></script>
<script type="text/javascript" src="<%=basePath %>admin/m/js/userlist.js"></script>
<script>
	var isAdmin = ${adminuser.loginName == 'admin'};
	function isNotBlank(value){
		if(value == null || value == ""){
			return false;
		}
		return true;
	}
</script>
</head>
<body bgcolor="white">
<div id="addUserBox" class="add_members_box" style="display: none">
	<div class="add_members_box_title">
		添加用户
		<img src="<%=basePath %>user/images/add_members_close.jpg" alt="" class="close" />
	</div>
	<div class="info_revise" style="padding-bottom:0px">
		<ul>
			<li><span>用户名：</span>
				<input type="text" name="loginName" id="loginName" class="user_name" maxlength="20" style="width: 250px" placeholder="登录名必须6-12为字母和数字" /></li>
			<li><span>手机号码：</span>
				<input type="text" name="mobile" id="mobile" class="user_name" maxlength="11" style="width: 250px" value="" /></li>
			<li><span>姓名：</span>
				<input type="text" name="userName" id="userName" class="user_name" maxlength="20" style="width: 250px" value="" />
			</li>
		</ul>
	</div>
    <div class="complete_box_submit"><input class="complete_submit" type="button" onclick="addUser();" value="完 成" /></div>
</div>
<div id="updateUserBox" class="add_members_box" style="display: none">
	<div class="add_members_box_title">
		修改用户
		<img src="<%=basePath %>user/images/add_members_close.jpg" alt="" class="close" />
	</div>
	<form name="updateform" id="updateform">
	<input type="hidden" name="adminUserId"/>
	<div class="info_revise" style="padding-bottom:0px">
		<ul>
			<li><span>用户名：</span>
				<input type="text" name="loginName" disabled="disabled" class="user_name" maxlength="20" style="width: 250px" value="" /></li>
			<li><span>手机号码：</span>
				<input type="text" name="mobile" class="user_name" maxlength="11" style="width: 250px" value="" /></li>
			<li><span>姓名：</span>
				<input type="text" name="userName" class="user_name" maxlength="20" style="width: 250px" value="" />
			</li>
		</ul>
	</div>
	</form>
    <div class="complete_box_submit"><input class="complete_submit" type="button" onclick="updateuser();" value="完 成" /></div>
</div>
	<%@ include file="/admin/head.jsp"%>
	<div class="pwsj_cont_box">
		<%@ include file="/admin/left.jsp"%>
		<div class="pwsj_cont_right_box">
		<div class="members_manage">
			<div class="pwsj_right_czrz_title" style="margin-bottom:3px">用户管理</div>
			<div class="add_member" onclick="addShow();" style="float: left;">添加用户</div>
			<div class="clear"></div>
			<div class="pwsj_right_czrz_cont_title">
				<ul class="czrz_title_ul">
					<li class="number" style="width: 5%">序号</li>
					<li class="time" style="width: 15%">用户名</li>
					<li class="time" style="width: 15%">创建时间</li>
					<li class="operation" style="width: 20%">手机号码</li>
					<li class="username" style="width: 20%">姓名</li>
					<li class="username" style="width: 25%">操作</li>
				</ul>				
			</div>
			<div id="content">
			</div>
		</div>
		<!-- 分页_begin -->
		<div class="page">
	            <a href="#">首页</a>
	            <a href="#">上一页</a>
	            <a class="intro" href="#">1</a>
	            <a href="#">下一页</a>
	            <a href="#">末页</a>
	    </div>
	    <!-- 分页_end -->
		</div>
		<!--main_right end-->
		<div class="clear"></div>
	</div>
	<!--main end-->
	<%@ include file="/user/foot.jsp"%>
</body>
</html>